Skip to content

Fix QR code popup - #355

Closed
Sajgon27 wants to merge 4 commits into
Sylius:3.3from
Sajgon27:fix/fix-qr-code
Closed

Fix QR code popup#355
Sajgon27 wants to merge 4 commits into
Sylius:3.3from
Sajgon27:fix/fix-qr-code

Conversation

@Sajgon27

@Sajgon27 Sajgon27 commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

On the checkout complete page the QR code popup wasn't showing at all — a guard added during the Sylius 1 → 2 migration bailed out early when the select-payment container was missing, so the popup never ran there. Once that was fixed the popup showed briefly but then redirected to an error page, because the order had no orderToken yet during checkout, so the redirect went to /thank-you?orderToken=null → "Order with token null does not exist".

Fix: run the popup on the complete page regardless of the guard, and assign the order token when the QR payment is created so the flow has a valid token to poll and redirect with.

@TheMilek TheMilek closed this Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants